package com.hospital.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.common.domain.system.Doctor;

import java.util.List;

/**
 * @Author：zhuzhujiang
 * @Description:
 * @name：DoctorService
 * @Date：2024/10/19 12:14
 */
public interface DoctorService extends IService<Doctor> {

    /**
     * 查询医生或者是管理员的信息
     * @param doctor
     * @return
     */
    Doctor getDoctorInfo(Doctor doctor);

    /**
     * 医生登录
     * @param doctor
     */
    void doctorRegister(Doctor doctor);

    /**
     * 根据部门id查找医生
     * @param departmentId
     * @return
     */
    List<Doctor> findDoctor(Long departmentId);
}
